package com.pt.dto.response;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class PrivateMessageResponse {
    private Long id;
    private Long senderId;
    private String senderUsername;
    private Long receiverId;
    private String receiverUsername;
    private String subject;
    private String content;
    private Boolean isRead;
    private Boolean senderDeleted;
    private Boolean receiverDeleted;
    private LocalDateTime sentTime;
    private LocalDateTime createdTime; // 前端期望的字段名
    private LocalDateTime readTime;
} 